package com.offcn.sms.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class SmsConfig {
    private String name = "sms_queue";

    @Bean
    public Queue getSQueue() {
        return new Queue(name);
    }


}
